Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
interface IPdfGenerator
Link copied to clipboard
Link copied to clipboard

Page direction.

Link copied to clipboard

Page fit.

Link copied to clipboard

Page size.

Link copied to clipboard
data class PdfAttributes(var author: String = "Created with Scanbot SDK", var creator: String = "", var title: String = "", var subject: String = "", var keywords: String = "") : Parcelable

PDF attributes.

Link copied to clipboard
data class PdfConfiguration(var attributes: PdfAttributes = PdfAttributes( ), var pageSize: PageSize = PageSize.A4, var pageDirection: PageDirection = PageDirection.PORTRAIT, var pageFit: PageFit = PageFit.FIT_IN, var dpi: Int = 72, var jpegQuality: Int = 80, var resamplingMethod: ResamplingMethod = ResamplingMethod.NONE, var binarizationFilter: ParametricFilter? = null) : Parcelable

The parameters pageSize, pageFit, dpi and resamplingMethod interact in a complex way when adding bitmap images (JPEG, PNG, or raw) to the PDF. There are three cases to consider:

Link copied to clipboard
Link copied to clipboard

Resampling method.